package cn.nyse.ktc_find.service;


import cn.nyse.ktc_find.entity.Article;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @Description 问题 服务层接口
 * @author admin
 * @date 2020-10-10 13:36:19
*/
public interface ArticleService {


    Page<Article> findAll(String keyword, int page, int size);

    List<Article> findAll();

    Article findById(String id);

    void add(Article spit);

    void update(Article spit);

    void deleteById(String id);


}
